Complexity of Views: Tree and Cyclic Schemas

نویسندگان

  • Oded Shmueli
  • Alon Itai
چکیده

In relational databases a view definition is a query against the database, and a view materializ-ation is the result of applying the view definition to the current database. A view materialization over a database may change as relations in the database undergo modifications. Several problems concerning views are considered, many of which are shown to be hard (NP-complete or even-complete). Each problem was treated for general databases and for the much simpler tree databases (also called acyclic databases). View related problems over fixed schemas, in which only the data is allowed to vary, were examined. Methods to handle this case were presented; their complexity is polynomial: for tree schemas the degree of the polynomial is independent of the schema structure while for cyclic schemas the degree depends on the schema structure. These methods may present a practical possibility for dynamic view maintenance.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Between Tree Patterns and Conjunctive Queries: Is There Tractability beyond Acyclicity?

In static analysis of queries over trees in the presence of schemas, there is an exponential complexity gap between conjunctive queries (CQs, positive existential first-order formulae without disjunction) and tree patterns (tree-like acyclic CQs). Motivated by applications in XML data management, we consider various restrictions of CQs that bring their complexity down to that of tree patterns. ...

متن کامل

Conceptual Modeling for Customized XML Schemas

XML was initially developed for document management, but it is becoming increasingly used for storing and exchanging all kinds of data on the Internet. In this paper, we introduce a design methodology for XML schemas that is based upon well-understood conceptual modeling methodologies. Because XML is hierarchical (tree-structured), many different XML schemas (or document structures) can be gene...

متن کامل

LINQ to XSD

‘LINQ to XSD’ is the code name of an incubation project at Microsoft that investigates a typed XML processing approach for .NET and LINQ. The LINQ to XSD technology comes essentially in the form of a mapping tool that takes XML schemas (in fact, XSD schemas) as input and maps them canonically to .NET types that serve as typed views on XML trees (to be precise: XML trees of the LINQ to XMLAPI). ...

متن کامل

An improved algorithm to reconstruct a binary tree from its inorder and postorder traversals

It is well-known that, given inorder traversal along with one of the preorder or postorder traversals of a binary tree, the tree can be determined uniquely. Several algorithms have been proposed to reconstruct a binary tree from its inorder and preorder traversals. There is one study to reconstruct a binary tree from its inorder and postorder traversals, and this algorithm takes running time of...

متن کامل

An improved algorithm to reconstruct a binary tree from its inorder and postorder traversals

It is well-known that, given inorder traversal along with one of the preorder or postorder traversals of a binary tree, the tree can be determined uniquely. Several algorithms have been proposed to reconstruct a binary tree from its inorder and preorder traversals. There is one study to reconstruct a binary tree from its inorder and postorder traversals, and this algorithm takes running time of...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • SIAM J. Comput.

دوره 16  شماره 

صفحات  -

تاریخ انتشار 1987